package clientApp;

import java.util.ArrayList;

import game.referenceValues.Feat;
import game.referenceValues.Magic;
import game.referenceValues.Power;
import game.referenceValues.Skill;
import game.referenceValues.UnitClass;
import game.units.Attribute;
import game.units.Character;
import clientApp.utils.RPG_Workstation_Container;

/**
 * 
 * @author Gabriel
 */
@SuppressWarnings("serial")
public class CharacterBuilder7 extends javax.swing.JPanel {

	RPG_Workstation_Container container;
	Character character;
	UnitClass lvlClass;
	boolean isNewChar = false;
	ArrayList<Skill> charSkills = new ArrayList<Skill>();
	ArrayList<Power> powers = new ArrayList<Power>();
	private ArrayList<Magic> magics = new ArrayList<Magic>();
	boolean characterSheet = false;

	String[] Skills = { "Appraise", "Balance", "Bluff", "Climb",
			"Concentration", "Craft", "Diplomacy", "Disable Device",
			"Disguise", "Escape Artist", "Gather Information", "Handle Animal",
			"Heal", "Hide", "Intimidate", "Jump", "Knowledge", "Listen",
			"Move Silently", "Open Lock", "Perform", "Ride", "Search",
			"Sense Motive", "Sleight of Hand", "Spellcraft", "Spot",
			"Survival", "Swim", "Tumble", "Use Magic Device" };

	/** Creates new form CharacterBuilder7 */
	public CharacterBuilder7(RPG_Workstation_Container rpg_Workstation_Container,
			Character character, UnitClass charClass, boolean isNewChar) {

		this.container = rpg_Workstation_Container;
		this.character = character;
		this.lvlClass = charClass;
		this.isNewChar = isNewChar;
		initSkillList();
		initPowerNMagicList();
		initComponents();
		initCompValues();
		initArrays();
	}
	
	public void saveButtontext()
	{
		jBSave.setText("OK");		
	}

	private void initCompValues() {
		jTFName.setText(character.getName());
		jTFAC.setText("" + (character.getArmorClass()));
		jTFExperience.setText("" + character.getExperience());
		jTFHP.setText("" + character.getLifePoints());
		jTFRace.setText(character.getRace().getName());
		jTFTotalLevel.setText("" + character.getLevel());

		jTFStr.setText(""
				+ character.getAttributes().get(Attribute.STRENGTH).getValue());
		jTFCon.setText(""
				+ character.getAttributes().get(Attribute.CONSTITUTION)
						.getValue());
		jTFFor.setText("" + character.getFortitude());

		jTFDex.setText(""
				+ character.getAttributes().get(Attribute.DEXTERITY).getValue());
		jTFInt.setText(""
				+ character.getAttributes().get(Attribute.INTELLIGENCE)
						.getValue());
		jTFRe.setText("" + character.getReflex());

		jTFWis.setText(""
				+ character.getAttributes().get(Attribute.WISDOM).getValue());
		jTFCha.setText(""
				+ character.getAttributes().get(Attribute.CHARISMA).getValue());
		jTFWill.setText("" + character.getWill());

		if (character.getClasses().size() >= 1) {
			jTFClass1.setText(character.getClasses().get(0).getName());
			jTFClass1Lvl.setText("" + character.getClasses().get(0).getLvl());
		}
		if (character.getClasses().size() >= 2) {
			jTFClass2.setText(character.getClasses().get(1).getName());
			jTFClass2Lvl.setText("" + character.getClasses().get(1).getLvl());
		}
		if (character.getClasses().size() == 3) {
			jTFClass3.setText(character.getClasses().get(2).getName());
			jTFCLass3Lvl.setText("" + character.getClasses().get(2).getLvl());
		}

	}

	private void initPowerNMagicList() {
		for (Power power : character.powers) {
			this.powers.add(power);
		}
		for (String power : character.otherPowers) {
			this.powers.add(new Power(power, "", 1, 0));
		}
		for (Magic magic : character.getMagics()) {
			this.magics.add(magic);
		}
	}

	private void initSkillList() {
		for (String skill : Skills) {
			charSkills.add(character.getSkillsMap().get(skill));
		}

	}

	private String calculateSpaces(Skill skill) {
		return skill.getName() + " = " + skill.getBase();
	}

	private void initArrays() {
		jLFeats.setModel(new javax.swing.AbstractListModel() {
			ArrayList<Feat> feats = character.getFeats();

			public int getSize() {
				return feats.size();
			}

			public Object getElementAt(int i) {
				return feats.get(i).getName();
			}
		});

		jLSKills.setModel(new javax.swing.AbstractListModel() {
			ArrayList<Skill> skills = charSkills;

			public int getSize() {
				return skills.size();
			}

			public Object getElementAt(int i) {
				return calculateSpaces(skills.get(i));
			}
		});

		jLPowers.setModel(new javax.swing.AbstractListModel() {
			ArrayList<Power> powerArray = powers;

			public int getSize() {
				return powerArray.size();
			}

			public Object getElementAt(int i) {
				if(powerArray.get(i).getQuantity() == 0)
				{
					return powerArray.get(i).getName();
				}
				return powerArray.get(i).getName()+"   "+powerArray.get(i).getQuantity();
			}
		});

		jLMagics.setModel(new javax.swing.AbstractListModel() {
			ArrayList<Magic> magicsArray = magics;

			public int getSize() {
				return magicsArray.size();
			}

			public Object getElementAt(int i) {
				return magicsArray.get(i).getName();
			}
		});
	}

	private void initComponents() {

		jPanel1 = new javax.swing.JPanel();
		jPanel2 = new javax.swing.JPanel();
		jLabel1 = new javax.swing.JLabel();
		jSeparator1 = new javax.swing.JSeparator();
		jSeparator2 = new javax.swing.JSeparator();
		jLabel2 = new javax.swing.JLabel();
		jTFName = new javax.swing.JTextField();
		jLabel3 = new javax.swing.JLabel();
		jTFRace = new javax.swing.JTextField();
		jLabel4 = new javax.swing.JLabel();
		jTFClass1 = new javax.swing.JTextField();
		jLabel5 = new javax.swing.JLabel();
		jTFClass1Lvl = new javax.swing.JTextField();
		jTFClass2 = new javax.swing.JTextField();
		jSeparator3 = new javax.swing.JSeparator();
		jTFTotalLevel = new javax.swing.JTextField();
		jLabel6 = new javax.swing.JLabel();
		jLabel8 = new javax.swing.JLabel();
		jLabel9 = new javax.swing.JLabel();
		jTFClass2Lvl = new javax.swing.JTextField();
		jLabel10 = new javax.swing.JLabel();
		jTFClass3 = new javax.swing.JTextField();
		jLabel13 = new javax.swing.JLabel();
		jTFCLass3Lvl = new javax.swing.JTextField();
		jLabel7 = new javax.swing.JLabel();
		jTFHP = new javax.swing.JTextField();
		jLabel11 = new javax.swing.JLabel();
		jLabel12 = new javax.swing.JLabel();
		jLabel14 = new javax.swing.JLabel();
		jLabel15 = new javax.swing.JLabel();
		jLabel16 = new javax.swing.JLabel();
		jTFExperience = new javax.swing.JTextField();
		jLabel17 = new javax.swing.JLabel();
		jLabel18 = new javax.swing.JLabel();
		jTFStr = new javax.swing.JTextField();
		jTFCon = new javax.swing.JTextField();
		jLabel19 = new javax.swing.JLabel();
		jTFFor = new javax.swing.JTextField();
		jTFDex = new javax.swing.JTextField();
		jTFInt = new javax.swing.JTextField();
		jLabel20 = new javax.swing.JLabel();
		jTFRe = new javax.swing.JTextField();
		jTFWis = new javax.swing.JTextField();
		jTFCha = new javax.swing.JTextField();
		jTFWill = new javax.swing.JTextField();
		jLabel21 = new javax.swing.JLabel();
		jSeparator4 = new javax.swing.JSeparator();
		jLabel22 = new javax.swing.JLabel();
		jTFAC = new javax.swing.JTextField();
		jLabel23 = new javax.swing.JLabel();
		jScrollPane1 = new javax.swing.JScrollPane();
		jLSKills = new javax.swing.JList();
		jLabel24 = new javax.swing.JLabel();
		jScrollPane2 = new javax.swing.JScrollPane();
		jLFeats = new javax.swing.JList();
		jLabel25 = new javax.swing.JLabel();
		jScrollPane3 = new javax.swing.JScrollPane();
		jLPowers = new javax.swing.JList();
		jLabel26 = new javax.swing.JLabel();
		jScrollPane4 = new javax.swing.JScrollPane();
		jLMagics = new javax.swing.JList();
		jBSave = new javax.swing.JButton();
		jBReset = new javax.swing.JButton();
		jBBack = new javax.swing.JButton();

		jPanel1.setPreferredSize(new java.awt.Dimension(780, 600));

		jPanel2.setBackground(new java.awt.Color(0, 0, 102));

		jLabel1.setFont(new java.awt.Font("Tahoma", 0, 28));
		jLabel1.setForeground(new java.awt.Color(255, 255, 255));
		jLabel1.setText("Character Sheet");

		jLabel2.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel2.setForeground(new java.awt.Color(255, 255, 255));
		jLabel2.setText("Name:");

		jTFName.setEditable(false);

		jLabel3.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel3.setForeground(new java.awt.Color(255, 255, 255));
		jLabel3.setText("Race");

		jTFRace.setEditable(false);

		jLabel4.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel4.setForeground(new java.awt.Color(255, 255, 255));
		jLabel4.setText("Total Level:");

		jTFClass1.setEditable(false);

		jLabel5.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel5.setForeground(new java.awt.Color(255, 255, 255));
		jLabel5.setText("Class:");

		jTFClass1Lvl.setEditable(false);

		jTFClass2.setEditable(false);

		jTFTotalLevel.setEditable(false);

		jLabel6.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel6.setForeground(new java.awt.Color(255, 255, 255));
		jLabel6.setText("Level:");

		jLabel8.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel8.setForeground(new java.awt.Color(255, 255, 255));
		jLabel8.setText("Class:");

		jLabel9.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel9.setForeground(new java.awt.Color(255, 255, 255));
		jLabel9.setText("Level:");

		jTFClass2Lvl.setEditable(false);

		jLabel10.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel10.setForeground(new java.awt.Color(255, 255, 255));
		jLabel10.setText("Class:");

		jTFClass3.setEditable(false);

		jLabel13.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel13.setForeground(new java.awt.Color(255, 255, 255));
		jLabel13.setText("Level:");

		jTFCLass3Lvl.setEditable(false);

		jLabel7.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel7.setForeground(new java.awt.Color(255, 255, 255));
		jLabel7.setText("HP:");

		jTFHP.setEditable(false);

		jLabel11.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel11.setForeground(new java.awt.Color(255, 255, 255));
		jLabel11.setText("Strength");

		jLabel12.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel12.setForeground(new java.awt.Color(255, 255, 255));
		jLabel12.setText("Constitution");

		jLabel14.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel14.setForeground(new java.awt.Color(255, 255, 255));
		jLabel14.setText("Dexterity");

		jLabel15.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel15.setForeground(new java.awt.Color(255, 255, 255));
		jLabel15.setText("Intelligence");

		jLabel16.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel16.setForeground(new java.awt.Color(255, 255, 255));
		jLabel16.setText("Experience:");

		jTFExperience.setEditable(false);

		jLabel17.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel17.setForeground(new java.awt.Color(255, 255, 255));
		jLabel17.setText("Wisdom");

		jLabel18.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel18.setForeground(new java.awt.Color(255, 255, 255));
		jLabel18.setText("Charisma");

		jTFStr.setEditable(false);

		jTFCon.setEditable(false);

		jLabel19.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel19.setForeground(new java.awt.Color(255, 255, 255));
		jLabel19.setText("Fortitude");

		jTFFor.setEditable(false);

		jTFDex.setEditable(false);

		jTFInt.setEditable(false);

		jLabel20.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel20.setForeground(new java.awt.Color(255, 255, 255));
		jLabel20.setText("Reflexes");

		jTFRe.setEditable(false);

		jTFWis.setEditable(false);

		jTFCha.setEditable(false);

		jTFWill.setEditable(false);

		jLabel21.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel21.setForeground(new java.awt.Color(255, 255, 255));
		jLabel21.setText("Will");

		jLabel22.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel22.setForeground(new java.awt.Color(255, 255, 255));
		jLabel22.setText("Armor Class");

		jTFAC.setEditable(false);

		jLabel23.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel23.setForeground(new java.awt.Color(255, 255, 255));
		jLabel23.setText("Skills:");

		jScrollPane1.setViewportView(jLSKills);

		jLabel24.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel24.setForeground(new java.awt.Color(255, 255, 255));
		jLabel24.setText("Feats:");

		jScrollPane2.setViewportView(jLFeats);

		jLabel25.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel25.setForeground(new java.awt.Color(255, 255, 255));
		jLabel25.setText("Magics");

		jScrollPane3.setViewportView(jLPowers);

		jLabel26.setFont(new java.awt.Font("Tahoma", 0, 12));
		jLabel26.setForeground(new java.awt.Color(255, 255, 255));
		jLabel26.setText("Powers:");

		jScrollPane4.setViewportView(jLMagics);

		jBSave.setText("Save");
		jBSave.addActionListener(new java.awt.event.ActionListener() {
			public void actionPerformed(java.awt.event.ActionEvent evt) {
				jBSaveActionPerformed(evt);
			}
		});

		jBReset.setText("Reset");
		jBReset.setVisible(characterSheet);
		jBReset.addActionListener(new java.awt.event.ActionListener() {
			public void actionPerformed(java.awt.event.ActionEvent evt) {
				jBResetActionPerformed(evt);
			}
		});

		jBBack.setText("Back");
		jBBack.setVisible(characterSheet);
		jBBack.addActionListener(new java.awt.event.ActionListener() {
			public void actionPerformed(java.awt.event.ActionEvent evt) {
				jBBackActionPerformed(evt);
			}
		});

		javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(
				jPanel2);
		jPanel2.setLayout(jPanel2Layout);
		jPanel2Layout
				.setHorizontalGroup(jPanel2Layout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								jPanel2Layout
										.createSequentialGroup()
										.addContainerGap()
										.addGroup(
												jPanel2Layout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addComponent(
																jSeparator3,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																750,
																Short.MAX_VALUE)
														.addComponent(
																jSeparator2,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																750,
																Short.MAX_VALUE)
														.addGroup(
																jPanel2Layout
																		.createSequentialGroup()
																		.addComponent(
																				jLabel1)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addComponent(
																				jSeparator1,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				546,
																				Short.MAX_VALUE))
														.addGroup(
																jPanel2Layout
																		.createSequentialGroup()
																		.addGroup(
																				jPanel2Layout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.LEADING)
																						.addGroup(
																								jPanel2Layout
																										.createSequentialGroup()
																										.addGroup(
																												jPanel2Layout
																														.createParallelGroup(
																																javax.swing.GroupLayout.Alignment.LEADING)
																														.addComponent(
																																jLabel2)
																														.addComponent(
																																jLabel5)
																														.addComponent(
																																jLabel8))
																										.addGap(12,
																												12,
																												12)
																										.addGroup(
																												jPanel2Layout
																														.createParallelGroup(
																																javax.swing.GroupLayout.Alignment.LEADING)
																														.addGroup(
																																jPanel2Layout
																																		.createSequentialGroup()
																																		.addComponent(
																																				jTFName,
																																				javax.swing.GroupLayout.PREFERRED_SIZE,
																																				143,
																																				javax.swing.GroupLayout.PREFERRED_SIZE)
																																		.addPreferredGap(
																																				javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
																																		.addComponent(
																																				jLabel3))
																														.addGroup(
																																jPanel2Layout
																																		.createSequentialGroup()
																																		.addComponent(
																																				jTFClass1,
																																				javax.swing.GroupLayout.PREFERRED_SIZE,
																																				143,
																																				javax.swing.GroupLayout.PREFERRED_SIZE)
																																		.addPreferredGap(
																																				javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
																																		.addComponent(
																																				jLabel6))
																														.addGroup(
																																jPanel2Layout
																																		.createSequentialGroup()
																																		.addComponent(
																																				jTFClass2,
																																				javax.swing.GroupLayout.PREFERRED_SIZE,
																																				143,
																																				javax.swing.GroupLayout.PREFERRED_SIZE)
																																		.addPreferredGap(
																																				javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
																																		.addComponent(
																																				jLabel9)))
																										.addGroup(
																												jPanel2Layout
																														.createParallelGroup(
																																javax.swing.GroupLayout.Alignment.LEADING)
																														.addGroup(
																																jPanel2Layout
																																		.createSequentialGroup()
																																		.addGap(18,
																																				18,
																																				18)
																																		.addComponent(
																																				jTFRace,
																																				javax.swing.GroupLayout.PREFERRED_SIZE,
																																				143,
																																				javax.swing.GroupLayout.PREFERRED_SIZE))
																														.addGroup(
																																jPanel2Layout
																																		.createSequentialGroup()
																																		.addGap(18,
																																				18,
																																				18)
																																		.addComponent(
																																				jTFClass1Lvl,
																																				javax.swing.GroupLayout.PREFERRED_SIZE,
																																				42,
																																				javax.swing.GroupLayout.PREFERRED_SIZE))
																														.addGroup(
																																jPanel2Layout
																																		.createSequentialGroup()
																																		.addGap(18,
																																				18,
																																				18)
																																		.addComponent(
																																				jTFClass2Lvl,
																																				javax.swing.GroupLayout.PREFERRED_SIZE,
																																				42,
																																				javax.swing.GroupLayout.PREFERRED_SIZE))))
																						.addGroup(
																								jPanel2Layout
																										.createSequentialGroup()
																										.addComponent(
																												jLabel10)
																										.addGap(18,
																												18,
																												18)
																										.addComponent(
																												jTFClass3,
																												javax.swing.GroupLayout.PREFERRED_SIZE,
																												143,
																												javax.swing.GroupLayout.PREFERRED_SIZE)
																										.addPreferredGap(
																												javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
																										.addComponent(
																												jLabel13)
																										.addGap(18,
																												18,
																												18)
																										.addComponent(
																												jTFCLass3Lvl,
																												javax.swing.GroupLayout.PREFERRED_SIZE,
																												42,
																												javax.swing.GroupLayout.PREFERRED_SIZE)))
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
																		.addGroup(
																				jPanel2Layout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.LEADING)
																						.addGroup(
																								jPanel2Layout
																										.createSequentialGroup()
																										.addComponent(
																												jLabel22)
																										.addGap(18,
																												18,
																												18)
																										.addComponent(
																												jTFAC,
																												javax.swing.GroupLayout.PREFERRED_SIZE,
																												93,
																												javax.swing.GroupLayout.PREFERRED_SIZE))
																						.addGroup(
																								jPanel2Layout
																										.createSequentialGroup()
																										.addGroup(
																												jPanel2Layout
																														.createParallelGroup(
																																javax.swing.GroupLayout.Alignment.LEADING)
																														.addComponent(
																																jLabel4)
																														.addComponent(
																																jLabel7))
																										.addGap(18,
																												18,
																												18)
																										.addGroup(
																												jPanel2Layout
																														.createParallelGroup(
																																javax.swing.GroupLayout.Alignment.LEADING)
																														.addComponent(
																																jTFHP,
																																javax.swing.GroupLayout.PREFERRED_SIZE,
																																93,
																																javax.swing.GroupLayout.PREFERRED_SIZE)
																														.addComponent(
																																jTFTotalLevel,
																																javax.swing.GroupLayout.PREFERRED_SIZE,
																																93,
																																javax.swing.GroupLayout.PREFERRED_SIZE)))
																						.addGroup(
																								jPanel2Layout
																										.createSequentialGroup()
																										.addComponent(
																												jLabel16)
																										.addGap(18,
																												18,
																												18)
																										.addComponent(
																												jTFExperience,
																												javax.swing.GroupLayout.PREFERRED_SIZE,
																												93,
																												javax.swing.GroupLayout.PREFERRED_SIZE)))
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED,
																				172,
																				Short.MAX_VALUE))
														.addGroup(
																jPanel2Layout
																		.createSequentialGroup()
																		.addGroup(
																				jPanel2Layout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.LEADING)
																						.addGroup(
																								jPanel2Layout
																										.createParallelGroup(
																												javax.swing.GroupLayout.Alignment.TRAILING,
																												false)
																										.addComponent(
																												jSeparator4,
																												javax.swing.GroupLayout.Alignment.LEADING)
																										.addGroup(
																												javax.swing.GroupLayout.Alignment.LEADING,
																												jPanel2Layout
																														.createSequentialGroup()
																														.addComponent(
																																jLabel11)
																														.addGap(18,
																																18,
																																18)
																														.addComponent(
																																jTFStr,
																																javax.swing.GroupLayout.PREFERRED_SIZE,
																																26,
																																javax.swing.GroupLayout.PREFERRED_SIZE)
																														.addGap(18,
																																18,
																																18)
																														.addComponent(
																																jLabel12)
																														.addGap(18,
																																18,
																																18)
																														.addComponent(
																																jTFCon,
																																javax.swing.GroupLayout.PREFERRED_SIZE,
																																javax.swing.GroupLayout.DEFAULT_SIZE,
																																javax.swing.GroupLayout.PREFERRED_SIZE)
																														.addGap(18,
																																18,
																																18)
																														.addComponent(
																																jLabel19)
																														.addGap(18,
																																18,
																																18)
																														.addComponent(
																																jTFFor,
																																javax.swing.GroupLayout.PREFERRED_SIZE,
																																16,
																																javax.swing.GroupLayout.PREFERRED_SIZE))
																										.addGroup(
																												javax.swing.GroupLayout.Alignment.LEADING,
																												jPanel2Layout
																														.createSequentialGroup()
																														.addGroup(
																																jPanel2Layout
																																		.createParallelGroup(
																																				javax.swing.GroupLayout.Alignment.LEADING)
																																		.addComponent(
																																				jLabel14)
																																		.addComponent(
																																				jLabel17))
																														.addGap(18,
																																18,
																																18)
																														.addGroup(
																																jPanel2Layout
																																		.createParallelGroup(
																																				javax.swing.GroupLayout.Alignment.LEADING)
																																		.addGroup(
																																				jPanel2Layout
																																						.createSequentialGroup()
																																						.addComponent(
																																								jTFDex,
																																								javax.swing.GroupLayout.PREFERRED_SIZE,
																																								26,
																																								javax.swing.GroupLayout.PREFERRED_SIZE)
																																						.addGap(18,
																																								18,
																																								18)
																																						.addComponent(
																																								jLabel15))
																																		.addGroup(
																																				jPanel2Layout
																																						.createSequentialGroup()
																																						.addComponent(
																																								jTFWis,
																																								javax.swing.GroupLayout.PREFERRED_SIZE,
																																								26,
																																								javax.swing.GroupLayout.PREFERRED_SIZE)
																																						.addGap(18,
																																								18,
																																								18)
																																						.addComponent(
																																								jLabel18)))
																														.addGap(18,
																																18,
																																18)
																														.addGroup(
																																jPanel2Layout
																																		.createParallelGroup(
																																				javax.swing.GroupLayout.Alignment.LEADING)
																																		.addGroup(
																																				jPanel2Layout
																																						.createSequentialGroup()
																																						.addComponent(
																																								jTFInt,
																																								javax.swing.GroupLayout.PREFERRED_SIZE,
																																								26,
																																								javax.swing.GroupLayout.PREFERRED_SIZE)
																																						.addGap(18,
																																								18,
																																								18)
																																						.addComponent(
																																								jLabel20)
																																						.addPreferredGap(
																																								javax.swing.LayoutStyle.ComponentPlacement.RELATED,
																																								javax.swing.GroupLayout.DEFAULT_SIZE,
																																								Short.MAX_VALUE)
																																						.addComponent(
																																								jTFRe,
																																								javax.swing.GroupLayout.PREFERRED_SIZE,
																																								26,
																																								javax.swing.GroupLayout.PREFERRED_SIZE))
																																		.addGroup(
																																				jPanel2Layout
																																						.createSequentialGroup()
																																						.addComponent(
																																								jTFCha,
																																								javax.swing.GroupLayout.PREFERRED_SIZE,
																																								26,
																																								javax.swing.GroupLayout.PREFERRED_SIZE)
																																						.addGap(18,
																																								18,
																																								18)
																																						.addComponent(
																																								jLabel21)
																																						.addPreferredGap(
																																								javax.swing.LayoutStyle.ComponentPlacement.RELATED,
																																								52,
																																								Short.MAX_VALUE)
																																						.addComponent(
																																								jTFWill,
																																								javax.swing.GroupLayout.PREFERRED_SIZE,
																																								26,
																																								javax.swing.GroupLayout.PREFERRED_SIZE)))))
																						.addComponent(
																								jLabel23)
																						.addGroup(
																								jPanel2Layout
																										.createParallelGroup(
																												javax.swing.GroupLayout.Alignment.TRAILING,
																												false)
																										.addComponent(
																												jScrollPane3,
																												javax.swing.GroupLayout.Alignment.LEADING)
																										.addComponent(
																												jScrollPane1,
																												javax.swing.GroupLayout.Alignment.LEADING,
																												javax.swing.GroupLayout.DEFAULT_SIZE,
																												317,
																												Short.MAX_VALUE))
																						.addComponent(
																								jLabel26))
																		.addGroup(
																				jPanel2Layout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.TRAILING)
																						.addGroup(
																								jPanel2Layout
																										.createSequentialGroup()
																										.addPreferredGap(
																												javax.swing.LayoutStyle.ComponentPlacement.RELATED,
																												77,
																												Short.MAX_VALUE)
																										.addGroup(
																												jPanel2Layout
																														.createParallelGroup(
																																javax.swing.GroupLayout.Alignment.LEADING)
																														.addComponent(
																																jScrollPane4,
																																javax.swing.GroupLayout.DEFAULT_SIZE,
																																317,
																																Short.MAX_VALUE)
																														.addGroup(
																																javax.swing.GroupLayout.Alignment.TRAILING,
																																jPanel2Layout
																																		.createParallelGroup(
																																				javax.swing.GroupLayout.Alignment.LEADING,
																																				false)
																																		.addComponent(
																																				jLabel24)
																																		.addComponent(
																																				jScrollPane2,
																																				javax.swing.GroupLayout.DEFAULT_SIZE,
																																				297,
																																				Short.MAX_VALUE)
																																		.addComponent(
																																				jLabel25))))
																						.addGroup(
																								jPanel2Layout
																										.createSequentialGroup()
																										.addGap(163,
																												163,
																												163)
																										.addComponent(
																												jBBack)
																										.addPreferredGap(
																												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																										.addComponent(
																												jBReset)
																										.addPreferredGap(
																												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																										.addComponent(
																												jBSave)))
																		.addGap(23,
																				23,
																				23)))
										.addContainerGap()));

		jPanel2Layout.linkSize(javax.swing.SwingConstants.HORIZONTAL,
				new java.awt.Component[] { jTFCLass3Lvl, jTFClass1Lvl,
						jTFClass2Lvl, jTFTotalLevel });

		jPanel2Layout.linkSize(javax.swing.SwingConstants.HORIZONTAL,
				new java.awt.Component[] { jTFCon, jTFFor, jTFStr });

		jPanel2Layout.linkSize(javax.swing.SwingConstants.HORIZONTAL,
				new java.awt.Component[] { jScrollPane1, jScrollPane2,
						jScrollPane3 });

		jPanel2Layout.linkSize(javax.swing.SwingConstants.HORIZONTAL,
				new java.awt.Component[] { jBBack, jBReset, jBSave });

		jPanel2Layout
				.setVerticalGroup(jPanel2Layout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								jPanel2Layout
										.createSequentialGroup()
										.addContainerGap()
										.addGroup(
												jPanel2Layout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.TRAILING)
														.addComponent(jLabel1)
														.addComponent(
																jSeparator1,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																10,
																javax.swing.GroupLayout.PREFERRED_SIZE))
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addComponent(
												jSeparator2,
												javax.swing.GroupLayout.PREFERRED_SIZE,
												10,
												javax.swing.GroupLayout.PREFERRED_SIZE)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addGroup(
												jPanel2Layout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(jLabel2)
														.addComponent(jLabel3)
														.addComponent(
																jTFName,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE)
														.addComponent(
																jTFRace,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE)
														.addComponent(jLabel4)
														.addComponent(
																jTFTotalLevel,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE))
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addGroup(
												jPanel2Layout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(
																jTFClass1,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE)
														.addComponent(jLabel5)
														.addComponent(jLabel6)
														.addComponent(
																jTFClass1Lvl,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE)
														.addComponent(jLabel7)
														.addComponent(
																jTFHP,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE))
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addGroup(
												jPanel2Layout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(
																jTFClass2,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE)
														.addComponent(jLabel8)
														.addComponent(jLabel9)
														.addComponent(
																jTFClass2Lvl,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE)
														.addComponent(jLabel16)
														.addComponent(
																jTFExperience,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE))
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addGroup(
												jPanel2Layout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(jLabel10)
														.addComponent(
																jTFClass3,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE)
														.addComponent(jLabel13)
														.addComponent(
																jTFCLass3Lvl,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE)
														.addComponent(jLabel22)
														.addComponent(
																jTFAC,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE))
										.addGap(18, 18, 18)
										.addComponent(
												jSeparator3,
												javax.swing.GroupLayout.PREFERRED_SIZE,
												5,
												javax.swing.GroupLayout.PREFERRED_SIZE)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addGroup(
												jPanel2Layout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addGroup(
																jPanel2Layout
																		.createSequentialGroup()
																		.addGroup(
																				jPanel2Layout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.BASELINE)
																						.addComponent(
																								jLabel11,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								15,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jTFStr,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jLabel12,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								15,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jTFCon,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jLabel19,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								15,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jTFFor,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE))
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
																		.addGroup(
																				jPanel2Layout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.BASELINE)
																						.addComponent(
																								jLabel14,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								15,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jTFDex,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jLabel15,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								15,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jTFInt,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jLabel20,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								15,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jTFRe,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE))
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
																		.addGroup(
																				jPanel2Layout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.BASELINE)
																						.addComponent(
																								jLabel17,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								15,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jTFWis,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jLabel18,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								15,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jTFCha,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jTFWill,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jLabel21,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								15,
																								javax.swing.GroupLayout.PREFERRED_SIZE))
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
																		.addComponent(
																				jSeparator4,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				10,
																				javax.swing.GroupLayout.PREFERRED_SIZE)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addComponent(
																				jLabel23,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				15,
																				javax.swing.GroupLayout.PREFERRED_SIZE)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
																		.addComponent(
																				jScrollPane1,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				86,
																				javax.swing.GroupLayout.PREFERRED_SIZE)
																		.addGap(18,
																				18,
																				18)
																		.addComponent(
																				jLabel26,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				15,
																				javax.swing.GroupLayout.PREFERRED_SIZE)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
																		.addComponent(
																				jScrollPane3,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				88,
																				javax.swing.GroupLayout.PREFERRED_SIZE))
														.addGroup(
																jPanel2Layout
																		.createSequentialGroup()
																		.addComponent(
																				jLabel24,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				15,
																				javax.swing.GroupLayout.PREFERRED_SIZE)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
																		.addComponent(
																				jScrollPane2,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				88,
																				javax.swing.GroupLayout.PREFERRED_SIZE)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
																		.addComponent(
																				jLabel25,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				15,
																				javax.swing.GroupLayout.PREFERRED_SIZE)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addComponent(
																				jScrollPane4,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				84,
																				javax.swing.GroupLayout.PREFERRED_SIZE)))
										.addContainerGap(31, Short.MAX_VALUE))
						.addGroup(
								javax.swing.GroupLayout.Alignment.TRAILING,
								jPanel2Layout
										.createSequentialGroup()
										.addContainerGap(544, Short.MAX_VALUE)
										.addGroup(
												jPanel2Layout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(jBSave)
														.addComponent(jBReset)
														.addComponent(jBBack))
										.addContainerGap()));

		javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(
				jPanel1);
		jPanel1.setLayout(jPanel1Layout);
		jPanel1Layout.setHorizontalGroup(jPanel1Layout.createParallelGroup(
				javax.swing.GroupLayout.Alignment.LEADING).addGroup(
				jPanel1Layout
						.createSequentialGroup()
						.addContainerGap()
						.addComponent(jPanel2,
								javax.swing.GroupLayout.DEFAULT_SIZE,
								javax.swing.GroupLayout.DEFAULT_SIZE,
								Short.MAX_VALUE).addContainerGap()));
		jPanel1Layout.setVerticalGroup(jPanel1Layout.createParallelGroup(
				javax.swing.GroupLayout.Alignment.LEADING).addGroup(
				jPanel1Layout
						.createSequentialGroup()
						.addContainerGap()
						.addComponent(jPanel2,
								javax.swing.GroupLayout.DEFAULT_SIZE,
								javax.swing.GroupLayout.DEFAULT_SIZE,
								Short.MAX_VALUE).addContainerGap()));

		javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
		this.setLayout(layout);
		layout.setHorizontalGroup(layout
				.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
				.addGap(0, 780, Short.MAX_VALUE)
				.addGroup(
						layout.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
								.addGroup(
										layout.createSequentialGroup()
												.addGap(0, 0, Short.MAX_VALUE)
												.addComponent(
														jPanel1,
														javax.swing.GroupLayout.PREFERRED_SIZE,
														javax.swing.GroupLayout.DEFAULT_SIZE,
														javax.swing.GroupLayout.PREFERRED_SIZE)
												.addGap(0, 0, Short.MAX_VALUE))));
		layout.setVerticalGroup(layout
				.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
				.addGap(0, 600, Short.MAX_VALUE)
				.addGroup(
						layout.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
								.addGroup(
										layout.createSequentialGroup()
												.addGap(0, 0, Short.MAX_VALUE)
												.addComponent(
														jPanel1,
														javax.swing.GroupLayout.PREFERRED_SIZE,
														javax.swing.GroupLayout.DEFAULT_SIZE,
														javax.swing.GroupLayout.PREFERRED_SIZE)
												.addGap(0, 0, Short.MAX_VALUE))));
	}// </editor-fold>//GEN-END:initComponents

	private void jBSaveActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_jBSaveActionPerformed
		if(!characterSheet)
		{
			Character.addDNDCharacter(character);
			container.panels.show(container, "GameMenu");		
		}
		else
		{
			container.panels.show(container, "InGameScreen");
		}
	}// GEN-LAST:event_jBSaveActionPerformed

	private void jBBackActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_jBBackActionPerformed

		if (lvlClass.isCaster()) {
			container.add(new CharacterBuilder6(container, character,
					lvlClass, isNewChar), "CharacterBuilder6");
			container.panels.show(container, "CharacterBuilder6");
		} else if ((character.getLevel() == 1 || character.getLevel() % 3 == 0)) {
			container.add(new CharacterBuilder5(container, character,
					lvlClass, isNewChar), "CharacterBuilder5");
			container.panels.show(container, "CharacterBuilder5");
		} else {
			container.add(new CharacterBuilder4(container, character,
					lvlClass, isNewChar), "CharacterBuilder4");
			container.panels.show(container, "CharacterBuilder4");
		}
	}// GEN-LAST:event_jBBackActionPerformed

	private void jBResetActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_jBResetActionPerformed
		Character cha = new Character();
		cha.setLevel(1);
		container.add(new CharacterBuilder1(container, cha, isNewChar),
				"CharacterBuilder1");
		container.panels.show(container, "CharacterBuilder1");
	}

	// Variables declaration - do not modify//GEN-BEGIN:variables
	private javax.swing.JButton jBBack;
	private javax.swing.JButton jBReset;
	private javax.swing.JButton jBSave;
	private javax.swing.JList jLFeats;
	private javax.swing.JList jLMagics;
	private javax.swing.JList jLPowers;
	private javax.swing.JList jLSKills;
	private javax.swing.JLabel jLabel1;
	private javax.swing.JLabel jLabel10;
	private javax.swing.JLabel jLabel11;
	private javax.swing.JLabel jLabel12;
	private javax.swing.JLabel jLabel13;
	private javax.swing.JLabel jLabel14;
	private javax.swing.JLabel jLabel15;
	private javax.swing.JLabel jLabel16;
	private javax.swing.JLabel jLabel17;
	private javax.swing.JLabel jLabel18;
	private javax.swing.JLabel jLabel19;
	private javax.swing.JLabel jLabel2;
	private javax.swing.JLabel jLabel20;
	private javax.swing.JLabel jLabel21;
	private javax.swing.JLabel jLabel22;
	private javax.swing.JLabel jLabel23;
	private javax.swing.JLabel jLabel24;
	private javax.swing.JLabel jLabel25;
	private javax.swing.JLabel jLabel26;
	private javax.swing.JLabel jLabel3;
	private javax.swing.JLabel jLabel4;
	private javax.swing.JLabel jLabel5;
	private javax.swing.JLabel jLabel6;
	private javax.swing.JLabel jLabel7;
	private javax.swing.JLabel jLabel8;
	private javax.swing.JLabel jLabel9;
	private javax.swing.JPanel jPanel1;
	private javax.swing.JPanel jPanel2;
	private javax.swing.JScrollPane jScrollPane1;
	private javax.swing.JScrollPane jScrollPane2;
	private javax.swing.JScrollPane jScrollPane3;
	private javax.swing.JScrollPane jScrollPane4;
	private javax.swing.JSeparator jSeparator1;
	private javax.swing.JSeparator jSeparator2;
	private javax.swing.JSeparator jSeparator3;
	private javax.swing.JSeparator jSeparator4;
	private javax.swing.JTextField jTFAC;
	private javax.swing.JTextField jTFCLass3Lvl;
	private javax.swing.JTextField jTFCha;
	private javax.swing.JTextField jTFClass1;
	private javax.swing.JTextField jTFClass1Lvl;
	private javax.swing.JTextField jTFClass2;
	private javax.swing.JTextField jTFClass2Lvl;
	private javax.swing.JTextField jTFClass3;
	private javax.swing.JTextField jTFCon;
	private javax.swing.JTextField jTFDex;
	private javax.swing.JTextField jTFExperience;
	private javax.swing.JTextField jTFFor;
	private javax.swing.JTextField jTFHP;
	private javax.swing.JTextField jTFInt;
	private javax.swing.JTextField jTFName;
	private javax.swing.JTextField jTFRace;
	private javax.swing.JTextField jTFRe;
	private javax.swing.JTextField jTFStr;
	private javax.swing.JTextField jTFTotalLevel;
	private javax.swing.JTextField jTFWill;
	private javax.swing.JTextField jTFWis;
}
